package com.yuanfeng.payment.controller;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @ClassName PayDistributorStatementController
 * @Description
 * @Author hyq
 * @Date 2023/7/14 13:43
 * @Version 1.0
 **/
@RestController
@RequestMapping("pay/distributorStatement")
public class PayDistributorStatementController extends BaseController{

    /**
     * 结算单列表
     * @param param
     * @return
     */
    @PostMapping("/query")
    public ResponseResult queryStatement(@RequestBody Map<String, Object>  param) {
        ResponseResult result=payDistributorStatementService.queryStatement(param);
        return result;
    }

}
